/**CHeaderFile*****************************************************************

  FileName    [rouInt.h]

  PackageName [rou]

  Synopsis    [Internal declarations for the routing package.]

  Description []

  SeeAlso     []

  Author      [Ivan Jeukens]

  Copyright   []

  Revision    []

******************************************************************************/

#ifndef _ROUINT
#define _ROUINT

#include "sis.h"
#include "netlInt.h"
#include "intf.h"

/*---------------------------------------------------------------------------*/
/* Constant declarations                                                     */
/*---------------------------------------------------------------------------*/
#define MAX_WIDTH 500

/*---------------------------------------------------------------------------*/
/* Type declarations                                                         */
/*---------------------------------------------------------------------------*/
typedef struct rr_node rr_node_t;
typedef struct rr_inf rr_inf_t;

/*---------------------------------------------------------------------------*/
/* Structure declarations                                                    */
/*---------------------------------------------------------------------------*/

/**Struct**********************************************************************

  Synopsis    [A routing graph node.]

  Description []

  SeeAlso     []

******************************************************************************/
struct rr_node {
  vertex_t *prev_node; 
  float cost;
  float path_cost; 
  short target;
  short xlow;
  short xhigh;
  short ylow;
  short yhigh; 
};

/**Struct**********************************************************************

  Synopsis    []

  Description []

  SeeAlso     []

******************************************************************************/
struct rr_inf {
  netl_clb_t *clb;
  float base_cost;
  float acc_cost;
  short occ; 
  short capacity;
};

/*---------------------------------------------------------------------------*/
/* Variable declarations                                                     */
/*---------------------------------------------------------------------------*/


/*---------------------------------------------------------------------------*/
/* Macro declarations                                                        */
/*---------------------------------------------------------------------------*/


/**AutomaticStart*************************************************************/

/*---------------------------------------------------------------------------*/
/* Function prototypes                                                       */
/*---------------------------------------------------------------------------*/


/**AutomaticEnd***************************************************************/

#endif /* _ */
